#ifndef COLLECTPICTURE_H
#define COLLECTPICTURE_H

/* Qt自带库 */
#include <QThread>
#include <QMutex>
#include <QImage>
#include <QDebug>

/* 标准库 */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <sys/time.h>

/* Opencv库 */
#include <opencv2/opencv.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>

/* 标准命名空间 */
using namespace cv;


/* 类定义 */
class collectPictureUpper : public QThread
{
    Q_OBJECT
public:
    explicit collectPictureUpper(QObject *parent = 0);
protected:
    void run();
signals:
    void isready(Mat *frame);//采集图片成功之后发送的信号
private:
};

#endif // COLLECTPICTURE_H
